import request from '@/utils/request'

// 获取到医生下的咨询用户集合
export function chatList(query) {
  return request({
    url: '/gonitis/chat/list',
    method: 'get',
    params: query
  })
}

// 获取历史记录
export function chatHistory(query) {
  return request({
    url: '/gonitis/chat/history',
    method: 'get',
    params: query
  })
}